#include <iostream>
#include <gflags/gflags.h> 

DEFINE_bool(debug, false, "检查程序是否正常启动");
DEFINE_int32(port, 8080, "查看服务端端口号");
DEFINE_string(log_path, "./log", "查看当前日志路径");

int main(int argc, char** argv) {
    gflags::ParseCommandLineFlags(&argc, &argv, true);

    std::cout << "debug: " << (FLAGS_debug ? "ON" : "OFF") << std::endl;
    std::cout << "port: " << FLAGS_port << std::endl;
    std::cout << "log_path: " << FLAGS_log_path << std::endl;

    return 0;
}